package com.heiliushu.baseWeb.service.impl.system;

import java.util.Set;

import org.springframework.stereotype.Service;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.heiliushu.baseWeb.domain.entity.Role;
import com.heiliushu.baseWeb.domain.mapper.RoleMapper;
import com.heiliushu.baseWeb.service.system.RoleService;

@Service
public class RoleServiceImpl extends SuperServiceImpl<RoleMapper, Role> implements RoleService {

	@Override
	public Set<Role> findRolesByUserId(Integer userId) {
		return baseMapper.findRolesByUserId(userId);
	}
	
}
